package org.jradweb.core.web;

import org.springframework.beans.BeanWrapper;
/**
 * 
 *
 * Created On 2008-7-12
 * @author <a href="mailto:wagzhi@gmail.com">Paul Wang</a>
 * @version $Id: FormBean.java 149 2008-10-10 03:10:10Z wagzhi $
 */
public interface FormBean<T> extends BeanWrapper{
	/**
	 * request parameter values and bind result information
	 * @return
	 */
	public RequestParameterValues getPropertyValues();
	/**
	 * check is any bind error
	 * @return
	 */
	public boolean getHasError();
	
	public T getBean();
	
	public String getPropertyValueAsText(String propertyName);
}
